package com.example.repository;

import com.example.model.WebUser;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.Optional;

public interface WebUserRepository extends JpaRepository<WebUser, Long> {
    Optional<WebUser> findByUsername(String username);
    boolean existsByUsername(String username);
    boolean existsByEmail(String email);
} 